PrestoPlayer\Models\Model B

Total Complexity 99
Dependencies 4
Dependents 1
Total lines 734
Lines of code 363
Logical lines of code 213
Comment lines 237
Methods 31
Properties 4

Methods 31

Method Rating Maintainability Complexity Lines of code
fetch()
B
33 20 96
get()
S
55 5 19
update()
S
54 5 19
updateOrCreate()
S
57 5 17
getOrCreate()
S
57 5 16
firstOrCreate()
S
57 4 16
parseResults()
S
60 4 14
parseIds()
S
62 4 13
maybeUnSerializeArgs()
S
63 4 10
maybeSerializeArgs()
S
63 4 10
create()
S
59 3 13
toObject()
S
62 3 11
formatRow()
S
62 3 11
getDefaults()
S
63 3 11
createAndGet()
S
69 3 7
unsetGuarded()
S
66 3 9
__construct()
S
67 2 8
fresh()
S
72 2 6
findWhere()
S
70 2 5
all()
S
65 2 8
delete()
S
67 2 7
__get()
S
73 2 5
untrash()
S
79 1 3
bulkDelete()
S
67 1 7
trash()
S
78 1 3
schema()
S
82 1 3
set()
S
74 1 4
toArray()
S
80 1 3
getTableName()
S
82 1 3
__set()
S
81 1 3
hasOne()
S
79 1 3